//
//  Header.h
//  QRMaster
//
//  Created by myApple on 15/12/21.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <Foundation/Foundation.h>

#ifndef QRMaster_Header_h
#define QRMaster_Header_h

#define REGISTEREND @"/mobile/user/register"

#define REGISTERVCODE @"/mobile/user/mobileVcode"

#define LOGIN @"/mobile/user/login"

#define GETINFO  @"/mobile/user/getInfo"

#define HOTELINFO @"/mobile/room/getInfo"

#define ALLHOTELINFO @"/mobile/room/getAllRoom" //获取所有房间（有职员管理，客户管理权限）

#define CHECKAUTHORTIY @"/mobile/Qrcode/checkAuthority"

#define FORGETPWD    @"/mobile/user/forgetPassward"

#define RESETPWD       @"/mobile/user/resetPasswd"

#define POSTFEED     @"/mobile/UserWay/postFeed"

#define ADDUSER @"/mobile/UserManage/addMember"

#define DELETEUSER @"/mobile/Community/deleteUsers"         //删除职员

#define MODIFYPASSWORD  @"/mobile/user/postPassword"

#define ADDGUEST @"/mobile/ClientMember/addCustomer"        //添加客户

#define EDITADDINFO  @"/mobile/UserManage/editorMember"     //编辑职员

#define GETMEMBER   @"/mobile/UserManage/getMember"

#define DELETEGUEST @"/mobile/ClientMember/deleteCustomers" //删除客户

#define EDITGUEST @"/mobile/ClientMember/editorCustomer"    //编辑客户

#define GETGUESTINFO @"/mobile/ClientMember/Customer"       //获取所有客户

#define NEWCOMMUNITYINFO @"/mobile/Community/communityInfo"

#define MODIFYHEADERIMG @"/mobile/User/setHeader"//修改头像

#define GETHEADERIMG  @"/mobile/Public/getHeaders"//获取头像

#define MODIYFGESTURE @"/mobile/User/setGesture"//上传手势密码

#define SETCOMMUNITYTIMESTATUS @"/mobile/Community/setCommunityTimeStatus"//总时间周期开关状态

#define GETCOMMUNITYTIMES @"/mobile/Community/getCommunityTimes"//获取集群的时间段

#define ADDCOMMUNITYTIME @"/mobile/Community/addCommunityTime"//添加集群的时间段

#define EDITCOMMUNITYTIME @"/mobile/Community/editCommunityTime"//编辑集群的时间段

#define GETCLIENTROOMS @"/mobile/Room/getClientRooms"//获取分配给客人的房间

#define SETCLIENTROOMTIME @"/mobile/Room/setClientRoomTime"//设置客人房间的时间

#define GETSTAFFCOMMUNITYTIME @"/mobile/Community/getCommunityTime"//获取职员房间时间段

#define EDITSTAFFROOMTIME @"/mobile/UserManage/editRoomTime"//编辑职员房间时间周期

#define EDITSTAFFFLOORTIME @"/mobile/UserManage/editFloorTime"//按照楼层编辑职员房间时间周期

#define ADDSHARE @"/mobile/QrcodeShare/addShare"//添加分享

#define GETSHARELIST @"/mobile/QrcodeShare/getShare"//获取分享列表

#define GETSHAREPICTURETIME @"/mobile/QrcodeShare/picture"//获取分享图片二维码的最大分享时长

#define GETSHAREPICTUREQRCODE @"/mobile/QrcodeShare/pictureQrcode"//获取具有时长的分享图片的二维码

#define NEWPOSTUSERPOWER @"/mobile/Community/updateUserPower"//修改了职员在集群的管理权限(只有管理员才可以修改)

#define GETONESELFROOM @"/mobile/Room/getUserAuthorityRoom"//获取职员权限下的所有房间

#define GETCLENTROOM @"/mobile/Room/getUserAuthorityClientRoom"//获取客户权限下的所有房间

#define ADDSTAFFFLOOR @"/mobile/Community/addMemberFloorPower2"//添加职员房间权限（楼栋，楼层）

#define ADDSTAFFROOM  @"/mobile/Community/addMemberRoomPower2"//添加职员房间权限（房间）

#define ADDCLIENTFLOORPOWER @"/mobile/Community/addClientFloorPower2"//添加客户房间权限（楼栋，楼层）

#define ADDCLIENTROOMPOWER @"/mobile/Community/addClientRoomPower2"//添加客户房间权限（房间）

#define GETMYSELFROOMTINE @"/mobile/Room/getMemberRoomTime"//获取自己拥有的房间的时间周期

#define USERPOWER3 @"/mobile/Community/userPower3"//增加总控卡的权限关系

#define CONTROLCARD @"/mobile/Qrcode/getControlCard"//获取总控卡

#define ADDMASTERCARDWITHCOMMUNITY @"/mobile/Community/getCommunitiesWithAuthority"//获取集群的同时查看是否有总控卡

#define GROUPLIST @"/mobile/Group/getGroupList"//获取集群的组信息

#define ADDGROUP @"/mobile/Group/addGroup"//添加组

#define DELETEGROUP @"/mobile/Group/deleteGroup"//删除组

#define GETGROUPCLIENTLIST @"/mobile/Group/getGroupMemberList"//获取组客户

#define ADDGROUPCLIENT @"/mobile/Group/addGroupClient"//增加组内客户

#define GETGROUPCLIENTROOM @"/mobile/Group/getGroupMemberRoom"//获取组内客户房间资源

#define EDITGROUPCLIENTROOM @"/mobile/Group/editGroupMemberRoom"//编辑组内客户的房间资源

#define EDITGROUPCLENTINFO @"/mobile/Group/editGroupMemberInfo"//编辑组内客户信息

#define DELETEGROUPCLIENT @"/mobile/Group/deleteGroupClient"//删除组内客户

#define SEARCHCUSTOMER @"/mobile/ClientMember/searchCustomer"//客户搜索

#define UPLOADPHOTO @"/mobile/Public/setUploadHeader"//头像上传

#define EDITGROUPTIME @"/mobile/Group/editGroupTime"//给组分配时间

#define DELETEGROUPCUSTOMER @"/mobile/Group/deleteGroupClient" //删除组客户（搜索）

#define DELETECUSTOMERS @"/mobile/ClientMember/deleteCustomers" //删除普通客户（搜索）

#define EDITGROUPMANAGERINFO @"/mobile/Group/editGroupManagerInfo"//更换组管理员身份

//#define NEWSHARELIST @"/mobile/ClientShare/getShare"//带手机号的分享
#define NEWSHARELIST @"/Mobile/ClientShare/getShare"//个人分享记录

#define ADDCLIENTSHARE @"/mobile/ClientShare/addShare"//添加分享

#define EDITSHARE @"/mobile/ClientShare/editShare"//编辑分享

//#define DELETESHARE @"/mobile/ClientShare/deleteShare"//删除分享
#define DELETESHARE @"/Mobile/ClientShare/deleteShare"//删除分享

//#define GETCOMMUNITYSHARELIST @"/mobile/ClientShare/getCommunityShare"//获取集群的分享列表
#define GETCOMMUNITYSHARELIST @"/Mobile/ClientShare/getCommunityShare"//获取集群的分享列表
#define GETPERSONALSHARELIST @"/Mobile/ClientShare/getShare" //获取个人的分享列表

#define SHARECARDTOGGLE @"/Mobile/ClientShare/toggle" //分享房卡的启用和禁用

#define TRAIL @"/mobile/User/tryout"//试用接口账号

#define GETCOLLECTROOM @"/mobile/Room/getCollectRoom"//获取收藏房卡

#define ADDCOLLECTROOM @"/mobile/Room/addCollectRoom"//添加用户收藏房卡

#define DELETECOLLECTROOM @"/mobile/Room/deleteCollectRoom"//删除收藏房卡

#define SORTCOLLECTIONROOM @"/Mobile/Room/sortCollectRoom"//置顶排序

#define EDITCOLLECTIONROOM @"/Mobile/Room/editCollectRoom"//编辑房卡

#define MODIFYLOCKPASSWORD @"/mobile/Community/saveLockPassword"//修改门锁密钥

#define GETMODIFYVCODE @"/mobile/Community/sendCommunityVcode"//获取修改门锁密钥验证码

#define GETOLDPWD  @"/mobile/Community/verifyCommunityVcode"//获取原密钥

#define GETAUTHINFO @"/Mobile/Community/authInfo"//获取认证信息

#define SAVEAUTHINFO @"/Mobile/Community/saveAuthInfo"//保存认证基本信息

#define SAVEAUTHIMAGE @"/Mobile/Community/saveAuthImage"//保存认证图片

#define SUBMITAUTHINFO @"/Mobile/Community/submitAuthInfo"//提交认证

#define MYSELFPOWER  @"/Mobile/Power/selfInfo"//个人房卡权限

#define USERPOWER @"/Mobile/Power/userInfo"//用户的权限

#define SAVEBUILDINGCARD @"/Mobile/Power/setBuildingCard"//保存楼栋卡权限

#define SAVEFLOORCARD @"/Mobile/Power/setFloorCard"//保存楼层卡权限

#define FUNCTIONCARD @"/mobile/Qrcode/functionCard"//功能卡

//重定义系统方法（多语言）
#define APPLANGUAGE @"userLanguage"
#define NSLocalizedString(key,comment)\
[[NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"%@",[[NSUserDefaults standardUserDefaults] objectForKey:@"userLanguage"]] ofType:@"lproj"]] localizedStringForKey:(key) value:@"" table:nil]

//真实环境模拟端口
//#define HEADERURL @"http://192.168.3.19:7112"
//#define POST(parment) [@"http://192.168.3.19:7112"stringByAppendingString:parment]
//
//测试端口
//#define HEADERURL @"http://192.168.3.19:6112"
//#define POST(parment) [@"http://192.168.3.19:6112"stringByAppendingString:parment]

//开发端口
#define HEADERURL @"http://192.168.3.19:8082"
#define POST(parment) [@"http://192.168.3.19:8082" stringByAppendingString:parment]

//#define HEADERURL @"http://192.168.3.199:8082"
//#define POST(parment) [@"http://192.168.3.199:8082" stringByAppendingString:parment]

//昌宇开发端口
//#define HEADERURL @"http://192.168.3.26:10000"
//#define POST(parment) [@"http://192.168.3.26:10000"stringByAppendingString:parment]

//分享链接头
//#define LINKURLHEADER @"http://192.168.3.19:7112/link/"
#define LINKURLHEADER @"http://qrm.uclbrt.com/link/" qrm.uclbrt.com/link/bcdefghtljds/zh_cn.html

//发布端口
#define YSBHEADERIMGURL @"http://cz.uclbrt.com"
//#define HEADERURL @"http://qrm.uclbrt.com"
//#define POST(parment) [@"http://qrm.uclbrt.com"stringByAppendingString:parment]

//#define HEADERURL @"http://192.168.3.197:80"
//#define POST(parment) [@"http://192.168.3.197:80"stringByAppendingString:parment]

//外网端口
//#define HEADERURL @"http://14.215.118.142:5002"
//#define POST(parment) [@"http://14.215.118.142:5002" stringByAppendingString:parment]


#endif
